<template>
  <div class="about">
    <div class="swiper">
      <!-- 显示的事about重定向路由deta显显deta -->
      <swiper></swiper>
    </div>
    <router-view @touchmove.prevent class="view" :key="$route.fullPath"></router-view>
  </div>
</template>
<script>
  import swiper from './Home.vue'
  export default {
    name: 'about',
    components: {
      swiper
    }
  }
</script>
<style>
  .view{
    overflow: hidden;
    /* position: fixed; */
  }
  .swiper {
    position: fixed;
    z-index: 999;
    top: 52px;
    width: 100%;
    left: 0;
    background: #fff;
  }
</style>